BlueCielo Meridian Asset Management Module 2013 Administrator's Guide | BlueCielo ECM Solutions

You are here: About integrating with a maintenance management system > Integrating with other maintenance management systems > About integrating with a web-based system > Retrieving arguments from a form

Retrieving arguments from a form

When the maintenance management system URL does not provide useful arguments, the place to retrieve them from is the maintenance management system page itself. The maintenance management system will probably display object identifiers and properties in a form or table. Using the DOMDocument API available in the browser, the values of form fields can be extracted and then used to construct a URL to the Meridian Explorer home page.

For example, if the maintenance management system page has a form field with the name EqNum that displays the number of the selected equipment, then the Meridian Explorer home page can be opened with the documents for the selected equipment using the following JavaScript function:

<script language=javascript>
function showDocs()
{    sEqNum = document.all ['EqNum'].value;
]    window.open
(?eqnum=' + sEqNum);
}
</script> <a onclick ="showDocs ();">Show docs</a>

One advantage of this technique is that the JavaScript runs on the client in the browser, so it cannot interfere with the server-side operation of the maintenance management system application.

Related concepts

Understanding the generic integration

Integrating with other maintenance management systems

Understanding the maintenance management system requirements

About integrating with a web-based system

About integrating with a Windows-based system

Related tasks

Retrieving arguments from an API

Retrieving arguments from a URL

Retrieving arguments from a session object


Copyright © 2000-2013 BlueCielo ECM Solutions

www.bluecieloecm.com